﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MajorList.aspx.cs" Inherits="Web.admin.BasicManage.Majors.MajorList" %>
<%@ Register Assembly="Ling.Pager" Namespace="Ling.Pager" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="Head1" runat="server">
    <title></title>
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/function.js" type="text/javascript"></script>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img  alt=""; src="../../images/main_hl.gif" /></td>
                        <td ><img alt=""; src="../../images/main_hl2.gif" /></td>
                        <td class="topNav"><span>专业管理</span></td>
                        <td><img alt=""; src="../../images/main_hr.gif" /></td>
                    </tr>
                </table>
        </div>
    </div>
     <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation"><span>首页&gt;基础数据管理&gt;专业管理&gt;专业列表</span></div>
            <div class="tools_box">
                <div class="tools_bar">
                    <a href="AddMajor.aspx"  class="tools_btn"><span><b class="add">添加专业</b></span></a>
                    <a href="#"  class="tools_btn" onclick="checkAll(this);">
                        <span><b class="checkAll">全选</b></span>
                    </a>
                    <asp:LinkButton runat="server" CssClass="tools_btn" ID="btn_Delete" OnClick="btnDelete_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');"><span><b class="delete">批量删除</b></span></asp:LinkButton>
                    <a href="MAJ_InsertAll.aspx"  class="tools_btn">
                        <span><b class="add">批量导入</b></span>
                    </a>
                </div>
            </div>
            <div class="chooseClass">
                <span>选择校区：</span>
                <asp:DropDownList ID="localList"  runat="server" AutoPostBack="true" 
                    AppendDataBoundItems="True" 
                    onselectedindexchanged="LocalList_SelectedIndexChanged" >
                    <asp:ListItem Value="">全部校区</asp:ListItem>
                </asp:DropDownList>
                <span>选择学院：</span>
                <asp:DropDownList ID="ACA_List"  runat="server" AutoPostBack="true" 
                    AppendDataBoundItems="True" 
                    onselectedindexchanged="ACA_List_SelectedIndexChanged" >
                    <asp:ListItem Value="">全部学院</asp:ListItem>
                </asp:DropDownList>
                <br />
               
            </div>

                <div class="content_table">
                        <table class="msgtable" >
                            <asp:Repeater ID="Repeater1" runat="server">
                                <HeaderTemplate>
                                    <tr>
                                        <th>选择</th>
                                        <th>专业号</th>
                                        <th>专业名称</th>
                                        <th>专业简称</th>
                                        <th>专业英文名</th>
                                        <th>专业负责人</th>
                                        <th>所属学院</th>
                                        <th>所属校区</th>
                                        <th>学科门类</th>
                                        <th>专业简介</th>
                                        <th>起始学期</th>
                                        <th>备注</th>
                                        <th>操作</th>
                                    </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" />
                                            <asp:HiddenField ID="Major_Id" value='<%# Eval("MAJ_ID") %>' runat="server" />
                                        </td>
                                        <td><%# Eval("MAJ_CODE")%></td>
                                        <td><%# Eval("MAJ_NAME") %></td>
                                        <td><%#Eval("MAJ_SHORT")%></td>
                                        <td><%#Eval("MAJ_ENNAME")%></td>
                                        <td><%#Eval("MAJ_TEACHER")%></td>
                                        <td><%#Eval("ACA_NAME")%></td>
                                        <td><%#Eval("LOC_NAME") %></td>
                                        <td><%# Eval("MAJ_CLASSIFICATION")%></td>
                                        <td><%# Eval("MAJ_CONTENT")%></td>
                                        <td><%#Eval("MAJ_START")%></td>
                                        <td><%#Eval("MAJ_REMARK")%></td>
                                        <td><a href='AddMajor.aspx?OPERATION=Modify&MAJ_ID=<%# Eval("MAJ_ID") %>'>修改</a>|<a href='AddMajor.aspx?OPERATION=Delete&MAJ_ID=<%# Eval("MAJ_ID") %>'>删除</a></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                </div>
                <center>
                    <div class="div_page">
                            <cc1:Pager ID="Pager1" runat="server"></cc1:Pager>
                    </div>
                </center>
        </div>
     </div>
    </form>
</body>
</html>
